﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MDS
{
   public class FutureType : EnumBase<string>
    {

       private FutureType(string value) : base(value) { }
       static FutureType()
       {
           IF = new FutureType("IF");
           TF = new FutureType("TF");
           AllFutureTypes = new List<FutureType>(){IF, TF};
       }
       public static implicit operator FutureType(string futureType)
       {
           if (futureType == "TF")
               return TF;
           else if (futureType == "IF")
               return IF;
           else
               return null;
       }
       
       public static FutureType TF { get; private set; }

       public static FutureType IF { get; private set; }

       public static List<FutureType> AllFutureTypes { get; private set; }
    }
}
